const get = function(url){
    let xmlhttp = new XMLHttpRequest();
    xmlhttp.open("GET",url,false);
    xmlhttp.send(null);
    return xmlhttp.responseText;
}
const getImageUrl = function(params){
    let url = ''
    url =  get(window.location.origin + '/airport-frontend-server/file/getUrl?key=' + params);
    return url;
}
export default getImageUrl;